package com.cssy.xxkj.logic.contants;

/**
 * 单据状态
 * @author zeyong.gui
 *
 */
public class BillStatusUtil {
	
	//分Pi录入
	public static final String BATCH_IN_ZERO="BATCHIN_SAVE";//草稿待提交
	public static final String BATCH_IN_ONE="BATCHIN_SUBMIT";//提交待审核
	public static final String BATCH_IN_TWO="BATCHIN_END";//完结
	public static final String BATCH_IN_THREE="BATCHIN_BACK";//退回

	//采购订单(purchase)模块 ,缩写PHS
	public static final String PHS_BILL_STATUS_ZERO = "PHS_SAVE";//草稿待提交
	public static final String PHS_BILL_STATUS_ONE = "PHS_SUBMIT" ;//已提交待审核
	public static final String PHS_BILL_STATUS_TWO = "PHS_AUDIT" ;//已审核待审批(二级审核)
	public static final String PHS_BILL_STATUS_THREE = "PHS_APPROVE";//已审批(三级审批)
	public static final String PHS_BILL_STATUS_FOUR = "PHS_BACK" ;//退回、驳回
	public static final String PHS_BILL_STATUS_FIVE = "PHS_END";//完结
	
	//采购订单的库存状态
	public static final String PCSWH_BILL_STATUS_ZERO = "PCSWH_NO";//未入库
	public static final String PCSWH_BILL_STATUS_ONE = "PCSWH_ST";//部分入库
	public static final String PCSWH_BILL_STATUS_TWO = "PCSWH_CP";//完全入库
	
	//采购入库
	public static final String PCSW_BILL_STATUS_ONE = "PCSW_SAVE";//草稿待提交
	public static final String PCSW_BILL_STATUS_TWO = "PCSW_SUBMIT";//草稿待提交
	public static final String PCSW_BILL_STATUS_THREE = "PCSW_AUDIT";//二审通过,提交三审
	public static final String PCSW_BILL_STATUS_FOUR = "PCSW_APPROVE";//三审通过改变库存
	public static final String PCSW_BILL_STATUS_FIVE = "PCSW_BACK";//退回、驳回
	
	//采购入库退货状态
	public static final String PCSW_WH_BILL_STATUS_ONE = "PCSW_WH_NO";//未退货
	public static final String PCSW_WH_BILL_STATUS_TWO = "PCSW_WH_CT";//部分退货
	public static final String PCSW_WH_BILL_STATUS_THR = "PCSW_WH_CP";//完全退货
	
	//采购入库单付款状态
	public static final String PCSW_PAY_BILL_STATUS_ONE = "RENO";//未付款
	public static final String PCSW_PAY_BILL_STATUS_TWO = "SECT";//部分付款
	public static final String PCSW_PAY_BILL_STATUS_THREE = "COMP";//完全付款  
	
	//采购退货单付款状态
	public static final String PCSR_PAY_BILL_STATUS_ONE = "RENO";//未付款
	public static final String PCSR_PAY_BILL_STATUS_TWO = "SECT";//部分付款
	public static final String PCSR_PAY_BILL_STATUS_THREE = "COMP";//完全付款
	
	//采购退货
	public static final String PCSR_BILL_STATUS_ONE = "PCSR_SAVE";//草稿待提交
	public static final String PCSR_BILL_STATUS_TWO = "PCSR_SUBMIT";//草稿待提交
	public static final String PCSR_BILL_STATUS_THREE = "PCSR_AUDIT";//二审通过,提交三审
	public static final String PCSR_BILL_STATUS_FOUR = "PCSR_APPROVE";//三审通过改变库存
	public static final String PCSR_BILL_STATUS_FIVE = "PCSR_BACK";//退回、驳回
	
	//调拨发起
	public static final String OUTWH_BILL_STATUS_ONE = "OUTWH_SAVE";//草稿待提交
	public static final String OUTWH_BILL_STATUS_TWO = "OUTWH_SUBMIT";//草稿待提交
	public static final String OUTWH_BILL_STATUS_THREE = "OUTWH_AUDIT";//二审通过,提交三审
	public static final String OUTWH_BILL_STATUS_FOUR = "OUTWH_APPROVE";//三审通过改变库存
	public static final String OUTWH_BILL_STATUS_FIVE = "OUTWH_BACK";//退回、驳回
	
	//调拨接收
	public static final String INWH_BILL_STATUS_ONE = "INWH_SAVE";//草稿待提交
	public static final String INWH_BILL_STATUS_TWO = "INWH_SUBMIT";//草稿待提交
	public static final String INWH_BILL_STATUS_THREE = "INWH_AUDIT";//二审通过,提交三审
	public static final String INWH_BILL_STATUS_FOUR = "INWH_APPROVE";//三审通过改变库存
	public static final String INWH_BILL_STATUS_FIVE = "INWH_BACK";//退回、驳回
	
	//调拨
	public static final String ACT_BILL_STATUS_ZERO = "ACT_SAVE";//保存
	public static final String ACT_BILL_STATUS_ZONE = "ACT_SUBMIT";//提交
	public static final String ACT_BILL_STATUS_ZTWO = "ACT_AUDIT";//通过
	public static final String ACT_BILL_STATUS_ZHREE = "ACT_BACK";//驳回
	
	//付款单据状态
	public static final String PAY_BILL_STATUS_ONE = "PAY_SAVE";//保存草稿
	public static final String PAY_BILL_STATUS_TWO = "PAY_SUBMIT";//提交付款
	public static final String PAY_BILL_STATUS_THREE = "PAY_BACK";//退回
	
	//付款状态
	public static final String PAY_MONEY_BILL_STATUS_ONE = "RENO";//未付款
	public static final String PAY_MONEY_BILL_STATUS_TWO = "SECT";//部分付款
	public static final String PAY_MONEY_BILL_STATUS_THREE = "COMP";//完全付款
	
	//付款退款单据状态
	public static final String PAYRN_BILL_STATUS_ONE = "PAYRN_SAVE";//保存草稿
	public static final String PAYRN_BILL_STATUS_TWO = "PAYRN_SUBMIT";//提交付款
	public static final String PAYRN_BILL_STATUS_THREE = "PAYRN_BACK";//退回
	
	//付款退款状态
	public static final String PAYRN_MONEY_BILL_STATUS_ONE = "RENORN";//未退款
	public static final String PAYRN_MONEY_BILL_STATUS_TWO = "SECTRN";//部分退款
	public static final String PAYRN_MONEY_BILL_STATUS_THREE = "COMPRN";//完全退款
	
	//收款单据状态
	public static final String RECEPT_BILL_STATUS_ONE = "REP_SAVE";//保存草稿
	public static final String RECEPT_BILL_STATUS_TWO = "REP_SUBMIT";//提交收款
	public static final String RECEPT_BILL_STATUS_THREE = "REP_BACK";//驳回
	
	//收款状态
	public static final String REP_MONEEY_BILL_STATUS_ONE = "RENO";//未收款
	public static final String REP_MONEEY_BILL_STATUS_TWO = "SECT";//部分收款
	public static final String REP_MONEEY_BILL_STATUS_THREE = "COMP";//完全收款
	
	//销售(sales)模块,缩写SES
	public static final String SES_STATUS_ONE = "PCSR_SAVE";//草稿待提交
	public static final String SES_STATUS_TWO = "PCSR_SUBMIT";//提交
	public static final String SES_STATUS_THREE = "PCSR_AUDIT";//财务审核
	public static final String SES_STATUS_FOUR = "PCSR_APPROVE";//生产审核
	public static final String SES_STATUS_FIVE = "PCSR_END";//生产完成
	public static final String SES_STATUS_SIX = "PCSR_BACK";//退回
	public static final String SES_STATUS_SEVEN = "PCSR_IN";//生产中
	
	//销售订单收款状态
	public static final String SES_MONEEY_BILL_STATUS_ONE = "RENOSES";//未收款
	public static final String SES_MONEEY_BILL_STATUS_TWO = "SECTSES";//部分收款
	public static final String SES_MONEEY_BILL_STATUS_THREE = "COMPSES";//完全收款
	
	//其他出库、其他入库
	public static final String OTHERWH_BILL_STATUS_ONEW="OTHERWH_SAVE";//草稿待提交
	public static final String OTHERWH_BILL_STATUE_TWO="OTHERWH_AUDIT";//已提交待审核(一审)
	public static final String OTHERWH_BILL_STATUE_THREE="OTHERWH_BACK";//退回
	public static final String OTHERWH_BILL_STATUE_FOUR="OTHERWH_END";//完结
	
	//领料出库、领料入库
	public static final String MATERIALOUT_BILL_STATUS_ONEW="MATERIALOUT_SAVE";//草稿待提交
	public static final String MATERIALOUT_BILL_STATUE_TWO="MATERIALOUT_AUDIT";//已提交待审核(一审)
	public static final String MATERIALOUT_BILL_STATUE_THREE="MATERIALOUT_BACK";//退回
	public static final String MATERIALOUT_BILL_STATUE_FOUR="MATERIALOUT_END";//完结
	
	//生产计划
	public static final String PROPLAN_BILL_STATUS_ONEW="PROPLAN_SAVE";//保存
	public static final String PROPLAN_BILL_STATUS_TWO="PROPLAN_AUDIT";//完成
	public static final String PROPLAN_BILL_STATUS_THREE="PROPLAN_APPROVE";//部分调度
	public static final String PROPLAN_BILL_STATUS_FOUR="PROPLAN_END";//完成
	//生产调度
	public static final String PRODISPATCH_BILL_STATUS_ONEW="PRODISPATCH_SAVE";//保存
	public static final String PRODISPATCH_BILL_STATUS_TWO="PRODISPATCH_AUDIT";//完成
	public static final String PRODISPATCH_BILL_STATUS_THREE="PRODISPATCH_APPROVE";//已派工
	public static final String PRODISPATCH_BILL_STATUS_FOUR="PRODISPATCH_END";//完成
	//生产派工
	public static final String PRODISPAT_BILL_STATUS_ZERO="PRODISPAT_ZSAVE";//待派工
	public static final String PRODISPAT_BILL_STATUS_ZONE="PRODISPAT_ZAUDIT";//部分派工
	public static final String PRODISPAT_BILL_STATUS_ZTWO="PRODISPAT_ZAPPROVE";//派工完成
	public static final String PRODISPAT_BILL_STATUS_ZTHR="PRODISPAT_ZEND";//完结
	
	//生产派工详细
	public static final String PRODISPATDTL_BILL_STATUS_ZERO="PRODISPATDTL_NO";//未生成日报
	public static final String PRODISPATDTL_BILL_STATUS_ZONE="PRODISPATDTL_YES";//已生成日报
	
	//生产返工
	public static final String PROREWORK_BILL_STATUS_ONE="PROREWORK_SAVE";//保存
	public static final String PROREWORK_BILL_STATUS_TWO="PROREWORK_END";//完成
		
	//生产日报
	public static final String PRODAILY_BILL_STATUS_ONEW="PRODAILY_SAVE";//保存
	public static final String PRODAILY_BILL_STATUS_TWO="PRODAILY_END";//完成
	
	//生产入库
	public static final String PROSTORIN_STATUS_ONE = "PROSTORIN_SAVE";//草稿待提交
	public static final String PROSTORIN_STATUS_TWO = "PROSTORIN_SUBMIT";//提交
	public static final String PROSTORIN_STATUS_THREE = "PROSTORIN_AUDIT";//财务审核
	public static final String PROSTORIN_STATUS_FIVE = "PROSTORIN_END";//生产完成
	public static final String PROSTORIN_STATUS_SIX = "PROSTORIN_BACK";//退回
	//生产出库
	public static final String PROSTOROUT_STATUS_ONE = "PROSTOROUT_SAVE";//草稿待提交
	public static final String PROSTOROUT_STATUS_TWO = "PROSTOROUT_SUBMIT";//提交
	public static final String PROSTOROUT_STATUS_THREE = "PROSTOROUT_AUDIT";//财务审核
	public static final String PROSTOROUT_STATUS_FIVE = "PROSTOROUT_END";//生产完成
	public static final String PROSTOROUT_STATUS_SIX = "PROSTOROUT_BACK";//退回
	
	//生产领料
	public static final String PROGET_STATUS_ONE = "PROGET_SAVE";//草稿待提交
	public static final String PROGET_STATUS_TWO = "PROGET_SUBMIT";//提交
	public static final String PROGET_STATUS_THREE = "PROGET_AUDIT";//财务审核
	public static final String PROGET_STATUS_FIVE = "PROGET_END";//生产完成
	public static final String PROGET_STATUS_SIX = "PROGET_BACK";//退回
	//生产退料
	public static final String PRORETURN_STATUS_ONE = "PRORETURN_SAVE";//草稿待提交
	public static final String PRORETURN_STATUS_TWO = "PRORETURN_SUBMIT";//提交
	public static final String PRORETURN_STATUS_THREE = "PRORETURN_AUDIT";//财务审核
	public static final String PRORETURN_STATUS_FIVE = "PRORETURN_END";//生产完成
	public static final String PRORETURN_STATUS_SIX = "PRORETURN_BACK";//退回
	
	//委外入库:单据状态
	public static final String OUTSIDEIN_STATUS_ONE = "OUTSIDEIN_SAVE";//草稿待提交
	public static final String OUTSIDEIN_STATUS_TWO = "OUTSIDEIN_SUBMIT";//已提交待审核
	public static final String OUTSIDEIN_STATUS_THREE = "OUTSIDEIN_BACK";//退回
	public static final String OUTSIDEIN_STATUS_FOUR = "OUTSIDEIN_END";//完成
	
	//委外入库:出库状态
	public static final String OUTSIDEIN_WH_STATUS_ZERO = "OUTSIDEIN_WHNO";//未出库
	public static final String OUTSIDEIN_WH_STATUS_ONE = "OUTSIDEIN_WHST";//部分出库
	public static final String OUTSIDEIN_WH_STATUS_TWO = "OUTSIDEIN_WHCP";//完全出库
	
	//委外出库
	public static final String OUTSIDEOUT_STATUS_ONE = "OUTSIDEOUT_SAVE";//草稿待提交
	public static final String OUTSIDEOUT_STATUS_TWO = "OUTSIDEOUT_SUBMIT";//已提交待审核
	public static final String OUTSIDEOUT_STATUS_THREE = "OUTSIDEOUT_BACK";//退回
	public static final String OUTSIDEOUT_STATUS_FOUR = "OUTSIDEOUT_END";//完成

	//盘点
	public static final String WH_CHECK_TASK_ZERO="DRAFT";//草稿
	public static final String WH_CHECK_TASK_ONE="NOSELECT";//未盘点
	public static final String WH_CHECK_TASK_TWO="CHECK";//盘点中
	public static final String WH_CHECK_TASK_THREE="AUDIT";//审核
	public static final String WH_CHECK_TASK_FOUR="END";//结束
	public static final String WH_CHECK_TASK_FIVE="RETURN";//驳回重盘
	public static final String WH_CHECK_TASK_SIX="TOVOID";//月末作废
	
	
	//反审 其他出库
	public static final String CHECK_BACK_OTHEROUT="OTHEROUT";
	//反审 销售出库
	public static final String CHECK_BACK_SALESOUT="SALESOUT";
	
	//反审状态
	public static final String CHECK_BACK_ZERO="SAVE";//草稿
	public static final String CHECK_BACK_ONE="COMMIT";//提交
	public static final String CHECK_BACK_TWO="RETURN";//驳回
	public static final String CHECK_BACK_THREE="AUDIT";//审核
	
	
	//退货状态
	public static final String MATER_BACK_ZERO = "MRCK_SAVE";
	public static final String MATER_BACK_ONE = "MRCK_COMP";
	public static final String MATER_BACK_TWO = "MRCK_BACK";
	public static final String MATER_BACK_THREE = "MRCK_AUDIT";
	

	/**
	 * 月度盘点
	 * 此次盘点数据为本此盘点仓库的期初库存
	 */
	public static final String MONTHCHECK="MC";
	/**
	 * 日常盘点
	 */
	public static final String EVERDAYCHECK="EC";
	/**
	 * 查询语句新增条件格式为yyyyMM
	 */
	public  static final String OP_INMONTH="INMONTH";

}
